package com.wd.service.impl;

import com.wd.dao.LogDao;
import com.wd.dao.impl.LogDaoImpl;
import com.wd.entity.Log;
import com.wd.service.LogService;

import java.util.List;

/**
 * @Author: 悠久的苍穹
 * @Date: 2020/11/9 17:34
 * @Description: ${description}
 * @Version: 1.0
 */
public class LogServiceImpl implements LogService {
    LogDao logDao = new LogDaoImpl();
    @Override
    public List<Log> selLog() throws Exception {
        return logDao.selLog();
    }

    @Override
    public void addLog(Log log) {
        logDao.addLog(log);
    }
}
